﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <!-- Css -->
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <link rel="stylesheet" href="@Url.Content("~/Content/css/reset.css")" />
    <link rel="stylesheet" href="@Url.Content("~/Content/css/Site.css")" />
    <link rel="stylesheet" href="@Url.Content("~/Content/css/superfish.css")" media="screen" />
    <link rel="stylesheet" href="@Url.Content("~/Content/css/superfish-vertical.css")" media="screen" />
    <!-- End Css -->
    
    <!-- Jquery -->
    @Scripts.Render("~/Scripts/Common/jquery-1.8.2.js")
    @Scripts.Render("~/Scripts/Common/jquery-ui-1.8.20.min.js")
    @Scripts.Render("~/Scripts/Common/hoverIntent.js")
    @Scripts.Render("~/Scripts/Common/superfish.js")
    <!-- End Jquery -->

    <!-- Javascript -->
    @Scripts.Render("~/Scripts/Common/util.js")
    @Scripts.Render("~/Scripts/Common/contants.js")
    @Scripts.Render("~/Scripts/Pages/template.js")
    <!-- End Javascript -->
</head>
@using TanWeb.Helpers;
@{
    List<TanWeb.Models.Entities.MenuItem> menuItems = (List<TanWeb.Models.Entities.MenuItem>)Session[Constants.SS_LISTMENUITEM];
}
<body>
    <!-- Header -->
    <div id="header">
        <div class="header"></div>
        <div class="menu">
            <!--<div class="menuleft"></div>-->
            <div class="menucenter">
                <ul id="menu">
                    <li><a href="/Home/Index">HOME</a></li>
                    <li><a href="/Home/Introduction">GIỚI THIỆU</a></li>
                    <li><a>TIN TỨC</a></li>
                    <li><a>HƯỚNG DẪN</a></li>
                </ul>
            </div>
            <!--<div class="menuright"></div>-->
        </div>
    </div>
    <!-- End Header -->
    <!-- Content -->
    <div id="content">
        <!-- Menu Content -->
        <div id="divRight">
            <section class="content-wrapper main-content clear-fix">
                <form id="contentForm" method="post">
                    @RenderBody()
                </form>
            </section>
        </div>
        <!-- End Menu Content -->
        <!-- Site menu -->
        <form id="siteForm" action="/Detail/Detail" method="post">
            <div id="divLeft">
                <!--
                <div class="category">
                    <h3 class="title">Trang Sức Bạc</h3>
                </div>
                -->
                <div class="menu_left">
                    <ul id="sitemenu" class="sf-menu sf-vertical">
                        @if (menuItems != null)
                        {
                            var groupId = "";
                            foreach (var item in menuItems)
                            {
                                groupId = "groupId" + item.itemGroup.id;
                                <li>
                                    <a class="itemGroup" id="@groupId" groupId="@item.itemGroup.id">@item.itemGroup.GroupName</a>
                            
                                    @if (item.subItems != null && item.subItems.Count > 0)
                                    {
                                        var subGroupId = "";
                                        <ul class="submenu_border">
                                            @foreach (var subItem in item.subItems)
                                            {
                                                subGroupId = "subGroupId" + @subItem.id;
                                                <li><a id="@subGroupId" class="@groupId" groupId="@item.itemGroup.id" subGroupId="@subItem.id">@subItem.SubGroupName</a></li>
                                            }
                                        </ul>
                                    }
                                </li>
                            }
                        }
                    </ul>
                </div>
                <!--<div class="box_1bottom"></div>-->
                <!--
			    <div class="advertisement">
				    <a href="#"><img src="../../Images/Template/mnu-hand-size.jpg" style="width: 236px; border: 0" alt="huong dan do size tay" /></a>
			    </div>
                -->
                <div class="sub_menu" style="display: none;">
                </div>
            </div>
            <input type="hidden" id="hdnGroupId" name="groupId" />
            <input type="hidden" id="hdnSubGroupId" name="subGroupId" />
        </form>
        <!-- Site menu -->
    </div>
    <!-- End Content -->
    <!-- Footer -->
    <div id="footer">
        <div class="info">
            <p>
				<img src="../../Images/Template/loading-twitter.gif" alt="" />Địa chỉ: 343/20 Nguyễn Trọng Tuyển P.1 Q.Tân Bình <br />
                Phone: 090 36 999 51 (Vui lòng gọi trước khi đến) <br />
                Email: shitookinawa@gmail.com
			</p>
        </div>
    </div>
    <!-- End Footer -->
</body>
</html> 